package com.llxz.blog.acl.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.llxz.blog.acl.entity.Permission;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 *
 * @author xzs
 * @description: date: 2021/9/4 9:16
 */
@Repository
public interface PermissionMapper extends BaseMapper<Permission> {

    List<String> selectPermissionValueByUserId(String id);

    List<String> selectAllPermissionValue();

    List<Permission> selectPermissionByUserId(String userId);

}

